home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The PC-SIG Library 10
/
The PC-Sig Library - Shareware for the IBM PC and Compatibles (PC-SIG)(Tenth Edition Disks 1-2804)(1991).iso
/
PC_SIGCD
/
12
/
2
/
DISK1225.ZIP
/
INSTMO.BAT
< prev
next >
Wrap
DOS Batch File
|
1989-06-02
|
3KB
|
104 lines
echo off
cls
if %2x==x goto NODRIVE
echo All disk drive designations must end with colons. For instance, drive C
echo is designated as "C:", not "C". Make absolutely sure that you have desig-
echo nated your hard disk correctly.
echo .
echo If your hard disk is not "%2", then press Control-C to abort; otherwise,
pause
echo off
cls
%2
cd\
md MANAGEX
cd\MANAGEX
echo Copying files...
copy %1mo.exe
cls
if exist %1upgrd.exe copy %1upgrd.exe
if exist mcalc.dat goto SKIPMISC
if exist bp.bat erase bp.bat
if exist tx.bat erase tx.bat
:SKIPMISC
if exist moe.exe erase moe.exe
if exist to.exe erase to.exe
if exist from.exe erase from.exe
if exist export.exe erase export.exe
if exist input.exe erase input.exe
if exist output.bat erase output.bat
if exist moe.hlp erase moe.hlp
if exist delsched.exe erase delsched.exe
if exist upgrd.com erase upgrd.com
if exist moe.doc erase moe.doc
if exist readme.doc erase readme.doc
if not exist prntcode.lbf goto EXTRACT
echo VERY IMPORTANT
echo .
echo .
echo Now, some program files will be extracted from an archive. Before each
echo file is extracted, a check will be made to see whether a similarly named
echo one already exists on your hard disk. If so, you'll be asked whether you
echo wish to overwrite it with a new copy. If you were to answer "YES", some of
echo your customizations might be overwritten with plain "vanilla" data.
echo .
echo THEREFORE, ALWAYS ANSWER "NO" BY PRESSSING THE "N" KEY.
echo .
echo .
echo .
pause
:EXTRACT
mo
erase mo.exe
upgrd %2
erase upgrd.*
cls
if exist mcalc.dat goto SKIPPRINT
echo The instructions must be printed.
echo .
echo .
echo Now, turn your printer OFF and then ON. Make sure that it is ready to
echo print and that you have loaded at least 40 sheets of paper. Then, align
echo the print head 1/2" below the top of the first sheet.
echo .
pause
cls
echo Printing documentation...
type MOE.DOC >prn
:SKIPPRINT
cls
echo .
echo MOE is now installed on your hard disk in the MANAGEX directory. To access
echo the program, do the following:
echo .
echo 1) enter "%2" at the prompt (this logs you onto drive %2);
echo 2) enter "CD\MANAGEX" at the prompt ("CD" means "Change Dirctory");
echo 3) enter "MOE" at the prompt.
echo .
echo .
pause
echo off
cls
echo .
echo IF YOU'RE A REGISTERED USER...
echo .
echo The upgrade you have just gone through has resulted in a personalized
echo copy of MOE.
echo .
echo Feel free to distribute copies of the MOE disk, but DON'T tell anyone
echo your serial number, since a user must register to receive one of his own.
echo .
echo Thanks.
echo .
echo .
goto END
:NODRIVE
cls
echo .
echo You must designate BOTH the SOURCE diskette and the HARD disk
echo .
echo example: B:INSTMO B: C: will install MOE from drive B to drive C:
echo .
echo PLEASE TRY AGAIN
:END